package com.pubinfo.passbook.common.model.vo.contract;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "SyncContractVo", description = "同步合同返回数据")
public class SyncContractVo implements Serializable {

    @ApiModelProperty("合同名称")
    @JSONField(name = "CONTRACTNAME")
    private String contractName;

    @ApiModelProperty("合同编码")
    @JSONField(name = "CONTRACTCODE")
    private String contractCode;

    @ApiModelProperty("合同金额")
    @JSONField(name = "TRADESUM")
    private BigDecimal treadeSum;

    @ApiModelProperty("承办部门")
    @JSONField(name = "APPLYDEPT")
    private String applyDept;

    @ApiModelProperty("合同承办人编码")
    @JSONField(name = "APPLYUSERID")
    private String applyUserId;

    @ApiModelProperty("合同承办人名称")
    @JSONField(name = "NAME")
    private String name;

    @ApiModelProperty("归档日期")
    @JSONField(name = "ARCHIVEDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date archiveDate;

    @ApiModelProperty("合同履行期限启")
    @JSONField(name = "SIGNDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signdate;

    @ApiModelProperty("履行期限止")
    @JSONField(name = "ENDDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @ApiModelProperty("合同状态")
    @JSONField(name = "STATUS")
    private String status;

    @ApiModelProperty("合同本方单位")
    @JSONField(name = "PARTANAME")
    private String partAname;

    @ApiModelProperty("合同对方名称")
    @JSONField(name = "PARTBNAME")
    private String partBname;

    @ApiModelProperty("地址")
    @JSONField(name = "CONSADDR")
    private String consAddr;

    @ApiModelProperty("税号")
    @JSONField(name = "SOCIAL_CODE")
    private String socialCode;

    @ApiModelProperty("收款方账户 开户名称")
    @JSONField(name = "ACCOUNTNAME")
    private String accountName;

    @ApiModelProperty("收款方账户 开户行")
    @JSONField(name = "BANKNAME")
    private String bankName;

    @ApiModelProperty("收款方账户 账号")
    @JSONField(name = "BANKACCOUNTS")
    private String bankAccounts;

    @ApiModelProperty("时间戳")
    @JSONField(name = "CREATETIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("公司账套")
    @JSONField(name = "GSZT")
    private String gszt;

    @ApiModelProperty("地市编码")
    @JSONField(name = "DSBM")
    private String dsbm;

    @ApiModelProperty("地市名称")
    @JSONField(name = "DSMC")
    private String dsmc;

    @ApiModelProperty("区县编码")
    @JSONField(name = "QXBM")
    private String qxbm;

    @ApiModelProperty("区县名称")
    @JSONField(name = "QXMC")
    private String qxmc;

    @ApiModelProperty("合同手机号")
    @JSONField(name = "telphone")
    private String telPhone;

}
